package com.pactera.madp.cp.api.dto.greeting;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pactera.madp.cp.api.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @description:欢迎语
 */
@ApiModel(value = "欢迎语")
@Data
public class GreetingDto {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer greetingId;

    @ApiModelProperty(value = "欢迎语类型")
    private String type;//欢迎语类型

    @ApiModelProperty(value = "欢迎语文本")
    private String words; //欢迎语文本

    @ApiModelProperty(value = "欢迎语素材")
    private Integer mediumId;//欢迎语素材

    @ApiModelProperty(value = "适用成员类型【1-全部成员(默认)】")
    private Integer rangeType;//适用成员类型【1-全部成员(默认)】

    @ApiModelProperty(value = "适用成员")
    private String employees; //适用成员

    @ApiModelProperty(value = "适用部门")
    private String deptIds;

}

